#!/usr/bin/env python
# -*- coding: utf-8 -*-


'''
Created on 07.06.2011

@author: Vlasov A. I. <root@proscript.ru>
'''

import sys, os 

ROOT_PATH = os.getcwd() 

sys.path.insert(0, ROOT_PATH)

os.environ["DJANGO_SETTINGS_MODULE"] = "settings" 
from django.core.servers.fastcgi import runfastcgi 

runfastcgi(
    method="threaded",
    daemonize="false",
    pidfile=ROOT_PATH + "/var/run/blog.pid"
    socket=ROOT_PATH + "/var/run/blog.sock"
)
